<template>
	<view class="container">
		<view class="active-img" v-for="(item,index) in activityList" :key="item.id"
			@click="$navigateTo('/subPackages/group-buying/index?activity_id=' + item.id)">
			<u-image :src="item.img" width="694rpx" height="386rpx"></u-image>
		</view>
	</view>
</template>

<script>
	import {
		mapState
	} from 'vuex'
	export default {
		data() {
			return {}
		},
		computed: {
			...mapState({
				activityList: state => state.index.activityList
			}),
		},
		methods: {}
	}
</script>

<style lang="scss" scoped>
	.container {

		.active-img {
			margin-top: 30rpx;
		}
	}
</style>